package fdq.pojo;

import java.sql.Timestamp;

public class Message {
    private int mid;
    private String mname;
    private String message;
    private Timestamp time;

    public Message() {
    }

    public Message(String mname, String message) {
        this.mname = mname;
        this.message = message;
    }

    public int getMid() {
        return mid;
    }

    public void setMid(int mid) {
        this.mid = mid;
    }

    public String getMname() {
        return mname;
    }

    public void setMname(String mname) {
        this.mname = mname;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Timestamp getTime() {
        return time;
    }

    public void setTime(Timestamp time) {
        this.time = time;
    }
}
